#include "pixelformat.h"

int flip_pf_table_initialized = 0;
flip_upf flip_pf_table[flip_pf_count];

void flip_init_pf_table()
{
	flip_upf_init_with(flip_pf_table + 0, 0x000000ff, 0x0000ff00, 0x00ff0000, 0x00000000, 4); // pf_8880
	flip_upf_init_with(flip_pf_table + 1, 0x000000ff, 0x0000ff00, 0x00ff0000, 0xff000000, 4); // pf_8888
	flip_upf_init_with(flip_pf_table + 2, 0x1f << 11, 0x3f << 5, 0x1f, 0, 2); // pf_5650
	flip_upf_init_with(flip_pf_table + 3, 0x000000ff, 0, 0, 0, 1); // pf_8000
	
	flip_pf_table_initialized = 1;
}
